Make it easier to import project in Eclipse using Team Project Set#123
Make it easier to import project in Eclipse using Team Project Set#123dandar3 wants to merge 1 commit intoeclipse-andmore:developfrom
Conversation
|
@dandar3 can you open an eclipse bug for this, and then update the Commit message to link this PR to the bug. Once that is done, I can merge the request. |
|
thank you @kingargyle, will do! |
|
@kingargyle
v2.3.3 seem to be missing from Maven Central: Adding JCenter repository to main pom.xml seems to solve the problem. |
|
Tagging @andrew-bowley as he did some recent work on the deve branch. Make sure you have synchronized your build with the latest. I know he added some items to update Andmore to use the latest SDKs. |
|
@andrew-bowley please take a look at this and provide any insight you may have. |
|
I have reproduced the problem by building Andmore on a pristine Linux OS which did not have Maven installed. It turns out that the Android dependencies are downloaded from JCenter which is not natively wired into Maven. The quick fix is to add a profile to the Maven settings.xml configuration file, which is what Bintray recommends. I will attach a file with the required settings. The better fix is to add JCenter to the Andmore target file and I will organize this asap. Note in the attached file I use for the url "http://" instead of "https://". This is because the latter gives me "unknown host" error on my Linux OS. I do not know why this is happening, so the latter my be OK for you. |
|
@andrew-bowley I've added the JCenter repository to main pom.xml on Windows with Maven 3.5.2 and it worked fine for me with both HTTPS and HTTP (HTTP would probably not be an issue since we're accessing the public part of it). The error is odd, that should indicate it is unable to resolve the name through DNS, not when unable to use the protocol. I agree, settings.xml would be a bit unconvenient to setup as an additional step for everyone, pom.xml should be easier. index a8a48320..b0301205 100644
--- a/pom.xml
+++ b/pom.xml
@@ -76,6 +76,13 @@
<enabled>false</enabled>
</snapshots>
</repository>
+ <repository>
+ <id>jcenter</id>
+ <url>https://jcenter.bintray.com/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
</repositories>
<pluginRepositories>
|
|
@dandar3 I was able to build andmore after adding the jcenter repo to |
|
Sorry I got sidetracked, will create the ticket so we can push this further. |
Change GitHub URLs from SSH to HTTPS to make it easier to import the project in Eclipse https://bugs.eclipse.org/bugs/show_bug.cgi?id=532865 Signed-off-by: Dan Dar3 <dan.dar33@gmail.com>
|
@kingargyle |
|
@dandar3 thanks, will try and get to it tonight. |
Uh oh!
There was an error while loading. Please reload this page.